<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Welcome to MyStuff!  |  Login</title>
    <style type="text/css">
<!--
body {
	background-image: url(Images/background_grad_big.gif);
	background-repeat: repeat-x;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
    <link href="mystuff_layout.css" rel="stylesheet" type="text/css">
	<!--[if lt IE 7.] >
  	<script defer type="text/javascript" src="pngfix.js"></script>
  	<![endif]--> 
    <link href="mystuff_text.css" rel="stylesheet" type="text/css">
    <script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
    </script>
    </head>
    <body onLoad="MM_preloadImages('Images/signup_button_over.png')">
        <div id="main_container">
			<div id="big_top_bar">
				<div id="big_logo">
				<img src="Images/large_logo.gif" alt="MyStuff |  Digital Life My Way" id="Image1"><br>
				<div class="big_logo_shadow"><img src="Images/biglogoshadow.jpg" id="Image2"></div>
			  </div> 
				<!-- /big_logo -->
			</div> <!-- /big_top_bar -->
			<div id="login_container">
				<div id="login_boxes">
					<div class="login_form">
						<form action="edu.byu.isys413.actions.Login.action" method="POST">

						<table width="350" border="0" cellspacing="0">
						  <tr>
<td><span class="login_title">Member Login:</span><br>
								&nbsp;</td>
								<td width="115" rowspan="4"><div align="center" class="forgot_password">Forgot your password? </div></td>
							  </tr>
							  <tr>
								<td align="right"><label class="form_labels">Email <input name="email" type="text" value="bob@byu.net" size="23" >
								</label></td>
						  </tr>
							  <tr>
								<td align="right"><label class="form_labels">Password <input name="password" type="password" value="secret" size="23">
								</label></td>
						  </tr>
							  <tr>
								<td align="right">
								  <input name="btn_clear" type="image" id="btn_clear" value="reset" src="Images/login_clear_button_off.gif">
								<input name="btn_login" type="image" id="btn_login" src="Images/login_button_off.gif">
								</td>
							  </tr>
						  </table>
						</form>

					</div>
					<div class="login_sign_up">
					<div align="left" class="login_title">Not a Member Yet?</div>
					<div align="left" class="sign_up_description">Sign up today and buy, rent, print and backup your stuff!</div>
					<div align="center"><img src="Images/signup_button_off.gif" name="btn_sign" id="btn_sign" onMouseOver="MM_swapImage('btn_sign','','Images/signup_button_over.png',1)" onMouseOut="MM_swapImgRestore()"></div>
					</div>
			  </div> <!-- /login_boxes -->
			</div> <!-- /login_container -->	
		</div><!-- /main_container -->
	<%=request.getAttribute("message")%>
        
    
        <%--
    This example uses JSTL, uncomment the taglib directive above.
    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
    --%>
        <%--
    <c:if test="${param.sayHello}">
        <!-- Let's welcome the user ${param.name} -->
        Hello ${param.name}!
    </c:if>
    --%>
    
</body>
</html>
